From: Keir Fraser Date: Tue, 28 Oct 2008 10:37:30 +0000 (+0000) Subject: xend: Fix typo in waitForBackend() for phantom VBDs X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14054^2~19 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=4b88a787b336771b0dad8ac484232d8e425f711e;p=xen.git xend: Fix typo in waitForBackend() for phantom VBDs Signed-off-by: Masaki Kanno --- diff --git a/tools/python/xen/xend/server/DevController.py b/tools/python/xen/xend/server/DevController.py index 8f22738c1f..67ca78ff79 100644 --- a/tools/python/xen/xend/server/DevController.py +++ b/tools/python/xen/xend/server/DevController.py @@ -542,7 +542,7 @@ class DevController: xswatch(statusPath, hotplugStatusCallback, ev, result) ev.wait(DEVICE_CREATE_TIMEOUT) err = xstransact.Read(statusPath, HOTPLUG_ERROR_NODE) - if result['status'] != 'Connected': + if result['status'] != Connected: return (result['status'], err) backpath = self.readVm(devid, "backend")